package org.jaaksi.test.jasonpaser.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Fcy on 2016/9/25.
 */
public class BaseResultDataInfo<T> {
    // 3个字段中任意一个命中都可以解析成功
    @SerializedName(value = "err", alternate = {"error", "erro"})
    public int error;
    public String errmsg;
    public T data;

    @Override
    public String toString() {
        return "BaseResultDataInfo{" +
            "error=" + error +
            '}';
    }
}
